package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.ColdDirectReq;
import com.ruibang.glass.quality.entity.EverydayColdDirectLoss;
import com.teaming.cloud.framework2.common.model.ResultBody;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.ArrayList;
import java.util.List;

public interface EverydayColdDirectService extends IService<EverydayColdDirectLoss> {

    ResultBody queryEverydayColdDirect(ColdDirectReq coldDirectReq);

    List<EverydayColdDirectLoss> queryTodayData(String today);

    ResultBody queryCheckAverage(@RequestBody ColdDirectReq coldDirectReq);

    ResultBody queryDefect(@RequestBody ColdDirectReq coldDirectReq);

    List<EverydayColdDirectLoss> getByDate(ArrayList<String> date);
}
